<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<title>
			订单信息
		</title>
		<script src="{{__PUBLIC__}}/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" href="{{__PUBLIC__}}/hdjs/hdjs.css"/>
		<script type="text/javascript" src="{{__PUBLIC__}}/hdjs/hdjs.min.js"></script>
		<script src="{{__PUBLIC__}}/bootstrap/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="{{__PUBLIC__}}/bootstrap/css/bootstrap.css"/>
	</head>
	<body>
		<div class="container">
			{{foreach from="$data" key="$k" value="$v"}}
			<div class="ind" style="border: 2px solid blue;padding: 20px; margin: 20px;">
				<div class="" style="padding: 0px 0 10px 30px;">
					<ul>
						<li class="active">
							用户: {{$v['name']}}
						</li>
						<li class="active">
							电话: {{$v['tel']}}
						</li>
						<li class="active">
							地址: {{$v['address']}}
						</li>
						<li class="active">
							订餐时间: {{date('Y-m-d',$v['book_time'])}}
						</li>
						<li class="active">
							备注: {{$v['description']}}
						</li>
					</ul>
				</div>
				<table class="hd-table hd-table-list" style="border: 1px solid yellow;">
					<thead>
						<tr>
							<td class="hd-w280">
								菜品图片
							</td>
							<td>
								菜品名称
							</td>
							<td>
								单价(元)
							</td>
							<td>
								数量
							</td>
						</tr>
					</thead>
					<tbody>
						{{foreach from="$v['goods']['data']" key="$key" value="$vl"}}
						<tr>
							<td>
								<img src="{{$vl['pic']}}" alt="" width="200px"/>
							</td>
							<td>
								{{$vl['name']}}
							</td>
							<td>
								{{$vl['gprice']}}
							</td>
							<td>
								{{$vl['num']}}
							</td>
						</tr>
						{{endforeach}}
						<tr>
							<td colspan="2">
								总数量:{{$v['goods']['total']}}
							</td>
							<td colspan="2">
								总价:{{$v['goods']['totalprice']}} 元
							</td>
						</tr>
					</tbody>
				</table>
			</div>
			{{endforeach}}
		</div>
	</body>
</html>